package com.tedu;

// + - * / %
public class Test005 {
    public static void main (String[] args) {
        int a = 10;//ctrl + alt + L
        int b = 20;

        int c = a + b;
        System.out.println(c);

        c = b - a;
        System.out.println(c);

        c = a * b;
        System.out.println(c);

        c = a / b;
        System.out.println(c);

        c = 9 % 4;
        System.out.println(c);

        //练习题
        String d= "100";
        char d1= 'a';
        System.out.println(a+d);//任何类型的值和字符串相加 都是字符串
        System.out.println(d1+a);//107
        System.out.println(d1+d);//a100


    }
}
